package org.example.com.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.com.pojo.Reservations;

import java.util.List;

@Mapper
public interface ReservationsMapper {
    //提交预约看房
    public void submit(Reservations reservations);

    //获取预约看房列表
    List<Reservations> history(int userId);

    void delete(int id);
}
